home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / tsr / pb19c.zip / WINDOWS.TXT < prev   
Text File  |  1990-10-25  |  3KB  |  55 lines

  1.  
  2.     Using Playback within Windows.
  3.  
  4.     Can you use Playback within Microsoft Windows 3.0?  The answer is Yes 
  5.     and No.  It all depends on what you're trying to do.
  6.  
  7.     If you load Playback before loading Windows in the hope that you will 
  8.     be able to replay or capture keystrokes while in the Windows program 
  9.     manager, you'll be disappointed.  Playback will not record nor 
  10.     playback while in the Windows program manager itself.  Program 
  11.     manager locks up the keyboard tighter than a drum.  However, if you 
  12.     were to open a window, Playback would record and playback within that 
  13.     window.  But don't do it.  Here's why: 
  14.  
  15.     Let's say you have two open windows and you want to playback a 
  16.     keyfile in one of the windows while you work in the other.  So you go 
  17.     to the window that you want to run the keyfile in and you enter the 
  18.     keyfile name at the DOS prompt (or launch it from MENU, or hit the 
  19.     playback hot key....) and the keyfile starts working.  So now you 
  20.     switch to the other window.  To your surprise, Playback continues on 
  21.     replaying the keystrokes all right, but in the new window now, not 
  22.     the window you initiated it in.  Not much use for that.
  23.  
  24.     However, don't despair, as there is a perfectly good way to run a 
  25.     Keyfile as a background window process.  Instead of running your 
  26.     normal application in the window, instead create a DOS batch file 
  27.     that first loads Playback (put PB as the first command in the batch 
  28.     file) and then loads the application.  Then, any records and 
  29.     playbacks you do will be confined only to that window.  You can do 
  30.     this in as many windows as you want.  
  31.  
  32.     This can be really spiffy.  Suppose you want to run a keyfile in the 
  33.     background while you write a letter in the foreground.  Simple.  
  34.     Let's assume you've previously recorded a Keyfile by the name of 
  35.     WORK.  Create a batch file with this in it: 
  36.  
  37.     PB
  38.     WORK
  39.  
  40.     and save it as WORKER.BAT (or any other name you want).  Then crank 
  41.     up Windows.  You could create a new application that runs WORKER.BAT 
  42.     or you could just run it from the Program Manager.  Once it's 
  43.     running, then open a new window to write your letter.  WORKER.BAT 
  44.     will run in the background window by first loading Playback (PB) and 
  45.     then executing the WORK keyfile.  Of course, since it's running in 
  46.     the background it will execute slower than if it wasn't in the 
  47.     background.  But don't worry about the delay between keystrokes, 
  48.     because Windows takes care of all that.  Of course it won't run in 
  49.     the background if the window it's running in isn't configured to run 
  50.     in the background.
  51.  
  52.     Clear as mud?  All you need remember is not to load Playback before 
  53.     running Windows.  If you need Playback then load it within each of 
  54.     the windows you want to use it in.
  55.